<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    
    <h:head>
        <link rel="stylesheet" type="text/css" href="#{resource['css:styles.css']}" />    
    </h:head>
    
    <ui:composition template="templates/content.xhtml">
        <ui:define name="content">

            <h:body>
                <h:form>
                    Email: <h:inputText id="email" value="#{farmUserController.bean.email}"/><br/><br/>
                    Password: <h:inputSecret id="password" value="#{farmUserController.bean.password}" redisplay="false"/>
                    <h:commandButton id="submit" value="Submit" action="#{farmUserController.signInUser()}"/>
                </h:form>
            </h:body>

        </ui:define>
    </ui:composition>
    
</html>